/**
 * 任务状态
 */

export enum ETaskStatus {
  '仅登记' = 1,
  '审批中' = 2,
  '通过' = 3,
  '不通过' = 4,
}

export enum ETaskStatusType {
  '仅登记' = 'warning',
  '审批中' = 'primary',
  '通过' = 'success',
  '不通过' = 'danger',
}

/**
 * 事项签收状态
 */

export enum EMatterReceiveStatus {
  '未签收' = 1,
  '已签收' = 2,
  '流程终止' = 4,
}

export enum EMatterReceiveType {
  '未签收' = 'danger',
  '已签收' = 'success',
  '流程终止' = 'info',
}

/**
 * 事项状态
 */

export enum EMatterStatus {
  '正常推进' = 1,
  '已超时' = 2,
  '已完成' = 3,
  '未签收' = 4,
}

export enum EMatterStatusType {
  '正常推进' = 'primary',
  '已超时' = 'warning',
  '已完成' = 'success',
  '未签收' = 'danger',
}

/**
 * 事项办理状态
 */
export enum EMatterHandleStatus {
  '未办理' = 0,
  '审批中',
  '已办理',
  '不通过',
  '流程终止',
}

export const EMatterHandleStatusType = {
  [EMatterHandleStatus['未办理']]: 'warning',
  [EMatterHandleStatus['审批中']]: 'primary',
  [EMatterHandleStatus['已办理']]: 'success',
  [EMatterHandleStatus['不通过']]: 'danger',
  [EMatterHandleStatus['流程终止']]: 'info',
}
/**
 * 事项待办理状态
 */
export enum EMatterTodoStatus {
  '待办理' = 1,
  '已办理' = 2,
}

export enum EMatterTodoStatusType {
  '待办理' = 'danger',
  '已办理' = 'success',
}

/**
 * 重点关注状态
 */
export enum EFocusStatus {
  '是' = 1,
  '否' = 0,
}

export enum EFocusStatusType {
  '是' = 'success',
  '否' = 'danger',
}

/**
 * 申请审批状态
 */

export enum EApproveStatus {
  '待审批' = 0,
  '通过' = 1,
  '不通过' = 2,
  '待提交' = 3,
  '流程终止' = 4,
}

export const EApproveStatusType = {
  [EApproveStatus['待审批']]: 'primary',
  [EApproveStatus['通过']]: 'success',
  [EApproveStatus['不通过']]: 'danger',
  [EApproveStatus['待提交']]: 'warning',
  [EApproveStatus['流程终止']]: 'info',
}

/**
 * 事项审核状态
 */
export enum ETaskReviewStatus {
  '待审核' = 0,
  '通过' = 1,
  '不通过' = 2,
  '流程终止' = 4,
}

export const ETaskReviewStatusType = {
  [ETaskReviewStatus['待审核']]: 'primary',
  [ETaskReviewStatus['通过']]: 'success',
  [ETaskReviewStatus['不通过']]: 'danger',
  [ETaskReviewStatus['流程终止']]: 'info',
}
